package com.ruoyi.cinema.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 影片类型对象 film_type
 *
 * @author HHAOYU
 * @date 2020-12-12
 */
@TableName("film_type")
public class FilmType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 影片ID */
    @Excel(name = "影片ID")
    private Long filmId;
    /** 电影编号 */
    @Excel(name = "电影编号")
    @TableId(value = "film_code")
    private String filmCode;
    /** 电影版本 */
    @Excel(name = "电影版本")
    private String filmVersion;
    /** 本地电影版本 */
    @Excel(name = "本地电影版本")
    private String localFilmVersion;
    public void setFilmId(Long filmId)
    {
        this.filmId = filmId;
    }

    public Long getFilmId()
    {
        return filmId;
    }
    public void setFilmCode(String filmCode)
    {
        this.filmCode = filmCode;
    }

    public String getFilmCode()
    {
        return filmCode;
    }
    public void setFilmVersion(String filmVersion)
    {
        this.filmVersion = filmVersion;
    }

    public String getFilmVersion()
    {
        return filmVersion;
    }
    public void setLocalFilmVersion(String localFilmVersion)
    {
        this.localFilmVersion = localFilmVersion;
    }

    public String getLocalFilmVersion()
    {
        return localFilmVersion;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("filmId", getFilmId())
            .append("filmCode", getFilmCode())
            .append("filmVersion", getFilmVersion())
            .append("localFilmVersion", getLocalFilmVersion())
            .toString();
    }
}
